export const PAGE_CODE = 'dcs-afterSales-technologyActivityDelayApply';
import {PAGE} from '../constants';
import {EnumItem, Enum} from 'Shared/utils/enumType';
const CN = 'zh-CN';
const EN = 'en-US';
const PT = 'pt-PT';

export const PERMISSION = {
    add: 'add',
    update: 'update',
    submit: 'submit',
    approve: 'approve',
    abandon: 'abandon',
    export: 'export',
};
export const DEFAULT_QUERY_OPTION = {
    technologyActivityCode: '',
    technologyActivityName: '',
    dealerId: '',
    brandId: '',
    status: [],
    creatorTime: [],
    submitTime: [],
    approveTime: [],
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
};
export const recommendedFullRate = Object.freeze({
    __proto__: Enum,
    '100%': 100,
    '95%': 95,
    '90%': 90,
    '85%': 85,
    '80%': 80,
    '75%': 75,
    '70%': 70,
    properties: Object.freeze({
        '100': Object.freeze({
            __proto__: EnumItem,
            [CN]: '100%',
            [EN]: '',
            [PT]: ''
        }),
        '95': Object.freeze({
            __proto__: EnumItem,
            [CN]: '95%',
            [EN]: '',
            [PT]: ''
        }),
        '90': Object.freeze({
            __proto__: EnumItem,
            [CN]: '90%',
            [EN]: '',
            [PT]: ''
        }),
        '85': Object.freeze({
            __proto__: EnumItem,
            [CN]: '85%',
            [EN]: '',
            [PT]: ''
        }),
        '80': Object.freeze({
            __proto__: EnumItem,
            [CN]: '80%',
            [EN]: '',
            [PT]: ''
        }),
        '75': Object.freeze({
            __proto__: EnumItem,
            [CN]: '75%',
            [EN]: '',
            [PT]: ''
        }),
        '70': Object.freeze({
            __proto__: EnumItem,
            [CN]: '70%',
            [EN]: '',
            [PT]: ''
        }),
    })
});
